package org.jeecg.modules.system.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.system.entity.SysConfig;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

@Repository
public interface SysConfigMapper extends BaseMapper<SysConfig> {
	
	@Select("SELECT CONFIG_BODY FROM sys_config WHERE CONFIG_CODE = #{configCode,jdbcType=VARCHAR}")
	public String queryConfigByCode(@Param("configCode")  String configCode);

}
